#ifndef POSTHACK_H
#define POSTHACK_H

#include <vector>

std::vector<char> * PSCharArray (float *data, int nx, int ny, 
				 float fmin, float fmax, 
				 float **RGB, float* RGB_val, int nRGB);

std::vector<char> * PSCharArray3 (int nx, int ny, 
				  float *rdata, float rfmin, float rfmax, 
				  float *gdata, float gfmin, float gfmax, 
				  float *bdata, float bfmin, float bfmax, 
				  float **RGB, float* RGB_val, int nRGB);

void InsertPSCharArray (const char *file, std::vector<char> *arr,
			const char*);

#endif
